User-agent: *  
<?php  
foreach ($urls as $url)  
{  
    echo 'Disallow: '.$url."\n";
}  
?> 